package com.groupbuying.sysconfig.dto.do2dto;

import com.groupbuying.sysconfig.domain.SysconfigOpexRuleDO;
import com.groupbuying.sysconfig.dto.SysconfigOpexRuleDTO;
import org.mapstruct.factory.Mappers;

import java.util.List;

@org.mapstruct.Mapper
public interface SysconfigOpexRuleConvert {

    SysconfigOpexRuleConvert MAPPER = Mappers.getMapper(SysconfigOpexRuleConvert.class);

    SysconfigOpexRuleDTO do2dto(SysconfigOpexRuleDO sysconfigOpexRuleDO);

    List<SysconfigOpexRuleDTO> dos2dtos(List<SysconfigOpexRuleDO> list);
}
